﻿@extends('layouts.home')
@section('meta')
  <title>{{Config::get('webconfig.web_title')}}-{{$field->art_title}}</title>
  <meta name="keywords" content="{{$field->art_tag}}" />
  <meta name="description" content="{{$field->art_description}}" />

@endsection
@section('resources')
  <link href="{{asset('resources/views/home/css/new.css')}}" rel="stylesheet">
@endsection
@section('right')
<article class="blogs">
  <h1 class="t_nav"><span>您当前的位置：<a href="{{url('/')}}">首页</a>&nbsp;&gt;&nbsp;<a href="{{url('cate/'.$field->cate_id)}}">{{$field->cate_name}}</a></span><a href="{{url('/')}}" class="n1">网站首页</a><a href="{{url('cate/'.$field->cate_id)}}" class="n2">{{$field->cate_name}}</a></h1>
  <div class="index_about">
    <h2 class="c_titile">{{$field->art_title}}</h2>
    <p class="box_c"><span class="d_time">发布时间：{{date('Y-m-d',$field->art_time)}}</span><span>编辑：{{$field->art_editor}}</span><span>查看次数：{{$field->art_view}}</span></p>
    <ul class="infos">
     {!! $field->art_content !!}
    </ul>
    <div class="keybq">
      <p><span>关键字词</span>：{{$field->art_tag}}</p>

    </div>
    <div class="ad"> </div>
    <div class="nextinfo">
      <p>上一篇：@if($field->art_prev)<a href="{{url('art/'.$field->art_prev->art_id)}}">{{$field->art_prev->art_title}}</a> @else <span>没有上一篇</span> @endif</p>
      <p>下一篇：@if($field->art_next)<a href="{{url('art/'.$field->art_next->art_id)}}">{{$field->art_next->art_title}}</a> @else <span>没有下一篇</span> @endif</p>
    </div>
    <div class="otherlink">
      <h2>相关文章</h2>
      <ul>
        @foreach($about as $a)
        <li><a href="{{url('art/'.$a->art_id)}}" title="{{$a->art_title}}">{{$a->art_title}}</a></li>
        @endforeach
      </ul>
    </div>
  </div>
@parent
@endsection
